package cn.bdqn.mapper;

import cn.bdqn.domain.Bunk;

import java.util.List;

public interface BunkMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Bunk record);

    int insertSelective(Bunk record);

    Bunk selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Bunk record);

    int updateByPrimaryKey(Bunk record);

    List<Bunk> selectByRoomId(Integer roomId);

    List<Bunk> selectAll();

    void updatePersonNameAndPersonPhoneById(Integer id);
}